package com.haikesi.api.resource.domain.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class ResourecesFlagVO implements Serializable {
	private static final long serialVersionUID = -1L;
	/**
	 * 资源名称
	 */
	@ApiModelProperty(value = "资源ID")
	private String id;

	/**
	 * 资源标识符
	 */
	@ApiModelProperty(value = "资源标识authorityFlag")
	private String authorityFlag;

	  /**
     * 资源名称
     */
	 @ApiModelProperty(value = "资源名称")
    private String resourcesName;

    /**
     * 资源URL
     */
	 @ApiModelProperty(value = "资源URL")
    private String resourcesUrl;

	/**
	 * 资源请求方式
	 */
	@ApiModelProperty(value = "资源请求方式")
	private String requestMethod;

	/**
	 * 资源请求人
	 */
	@ApiModelProperty(value = "资源请求人")
	private String createBy;

	/**
	 * 资源请求人名字
	 */
	@ApiModelProperty(value = "资源请求人名字")
	private String userName;

    /**
     * 资源描述
     */
	 @ApiModelProperty(value = "资源描述")
    private String resourcesDescription;

	@ApiModelProperty(value = "创建时间", hidden = true)
	@Column(name = "create_date")
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	private Date createDate;

}
